package com.common.manager.interfaces;

import java.util.List;

import com.common.security.exceptions.ManagerException;

public interface IManager<T> {

	public T getById(Long id) throws ManagerException;
	
	public List<T> getAll() throws ManagerException;
	
	public void save(T item) throws ManagerException;
	
	public void update(T item) throws ManagerException;
	
	public void delete(T item) throws ManagerException;
}
